Pagini recente » Borderou de evaluare (job #1028183) | Borderou de evaluare (job #121408) | Borderou de evaluare (job #566894) | Borderou de evaluare (job #1551479) | Borderou de evaluare (job #2277146)
Borderou de evaluare (job #2277146)
Raport evaluator
Compilare:
main.cpp: In function 'void nrsisum(int, long int)':
main.cpp:58:24: warning: format '%ld' expects argument of type 'long int', but argument 2 has type 'int' [-Wformat=]
printf("%ld ",nrdiv);
^
main.cpp: In function 'void calcul()':
main.cpp:73:20: warning: format '%s' expects argument of type 'char*', but argument 2 has type 'char (*)[13]' [-Wformat=]
scanf("%s\n",&c);
^
main.cpp:80:5: warning: this 'for' clause does not guard... [-Wmisleading-indentation]
for(int i=0; i<lp && n!=1; i++)
^~~
main.cpp:135:9: note: ...this statement, but the latter is misleadingly indented as if it is guarded by the 'for'
printf("%d %d\n",nrdiv,sumadiv);
^~~~~~
main.cpp:73:21: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%s\n",&c);
^
main.cpp: In function 'void prelucrare()':
main.cpp:173:21: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%d\n",&t);
^
main.cpp: In function 'int main()':
main.cpp:191:33: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result]
freopen("ssnd.in","r",stdin);
^
main.cpp:192:35: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result]
freopen("ssnd.out","w",stdout);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
Punctaj/grupa |
1 | 74ms | 4194kb | OK | 10 | 10 |
2 | 68ms | 4194kb | OK | 10 | 10 |
3 | 67ms | 4194kb | OK | 10 | 10 |
4 | 68ms | 4194kb | OK | 10 | 10 |
5 | 67ms | 4194kb | OK | 10 | 10 |
6 | 68ms | 4194kb | OK | 10 | 10 |
7 | 66ms | 4194kb | OK | 10 | 10 |
8 | 101ms | 4194kb | Time limit exceeded | 0 | 0 |
9 | 100ms | 4194kb | Time limit exceeded | 0 |
10 | 103ms | 4194kb | Time limit exceeded | 0 |
Punctaj total | 70 |