Pagini recente » Borderou de evaluare (job #314333) | Borderou de evaluare (job #2149886) | Borderou de evaluare (job #672330) | Borderou de evaluare (job #903007) | Borderou de evaluare (job #1754573)
Borderou de evaluare (job #1754573)
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/ccnHOtM9.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 | 460kb | OK | 10 | 10 |
2 | 0ms | 460kb | OK | 10 | 10 |
3 | 8ms | 484kb | OK | 10 | 10 |
4 | 8ms | 464kb | OK | 10 | 10 |
5 | 16ms | 484kb | OK | 10 | 10 |
6 | 52ms | 624kb | OK | 10 | 20 |
7 | 72ms | 476kb | OK | 10 |
8 | 124ms | 628kb | OK | 10 | 20 |
9 | 96ms | 480kb | OK | 10 |
10 | 132ms | 556kb | OK | 10 | 10 |
Punctaj total | 100 |