Pagini recente » Borderou de evaluare (job #1945775) | Borderou de evaluare (job #2979590) | Borderou de evaluare (job #350336) | Borderou de evaluare (job #613228) | Borderou de evaluare (job #1754571)
Borderou de evaluare (job #1754571)
Raport evaluator
Compilare:
user.cpp:14:51: warning: narrowing conversion of ‘1.000000007e+9’ from ‘double’ to ‘int’ inside { } [-Wnarrowing]
int mods[4] = {1e9 + 7, 1e9 + 9, 1e9+ 21, 1e9 + 33};
^
user.cpp:14:51: warning: narrowing conversion of ‘1.000000009e+9’ from ‘double’ to ‘int’ inside { } [-Wnarrowing]
user.cpp:14:51: warning: narrowing conversion of ‘1.000000021e+9’ from ‘double’ to ‘int’ inside { } [-Wnarrowing]
user.cpp:14:51: warning: narrowing conversion of ‘1.000000033e+9’ from ‘double’ to ‘int’ inside { } [-Wnarrowing]
user.cpp: In function ‘int main()’:
user.cpp:34:42: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("propozitie2.in", "r", stdin);
^
user.cpp:35:44: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("propozitie2.out", "w", stdout);
^
user.cpp:45:16: warning: ignoring return value of ‘char* gets(char*)’, declared with attribute warn_unused_result [-Wunused-result]
gets(s + 1);
^
user.cpp:48:22: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d\n", &M);
^
user.cpp:51:20: warning: ignoring return value of ‘char* gets(char*)’, declared with attribute warn_unused_result [-Wunused-result]
gets(a + 1);
^
/tmp/ccMNA24N.o: In function `main':
user.cpp:(.text.startup+0xf1): warning: the `gets' function is dangerous and should not be used.
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
Punctaj/grupa |
1 | 0ms | 456kb | OK | 10 | 10 |
2 | 0ms | 452kb | OK | 10 | 10 |
3 | 8ms | 476kb | Incorect | 0 | 0 |
4 | 8ms | 460kb | Incorect | 0 | 0 |
5 | 16ms | 488kb | Incorect | 0 | 0 |
6 | 52ms | 628kb | OK | 10 | 0 |
7 | 72ms | 480kb | Incorect | 0 |
8 | 124ms | 628kb | Incorect | 0 | 0 |
9 | 100ms | 476kb | Incorect | 0 |
10 | 132ms | 552kb | Incorect | 0 | 0 |
Punctaj total | 20 |