Pagini recente » Borderou de evaluare (job #933277) | Borderou de evaluare (job #2438646) | Borderou de evaluare (job #2719942) | Borderou de evaluare (job #1514421) | Borderou de evaluare (job #2277150)
Borderou de evaluare (job #2277150)
Raport evaluator
Compilare:
main.cpp: In function 'void calcul()':
main.cpp:64:20: warning: format '%s' expects argument of type 'char*', but argument 2 has type 'char (*)[13]' [-Wformat=]
scanf("%s\n",&c);
^
main.cpp:71:5: warning: this 'for' clause does not guard... [-Wmisleading-indentation]
for(int i=0; i<lp && n!=1; i++)
^~~
main.cpp:126: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:64: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:164: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:182: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:183: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 | 14ms | 1179kb | OK | 10 | 10 |
2 | 17ms | 1179kb | OK | 10 | 10 |
3 | 18ms | 1179kb | OK | 10 | 10 |
4 | 17ms | 1179kb | OK | 10 | 10 |
5 | 17ms | 1179kb | Incorect | 0 | 0 |
6 | 19ms | 1179kb | Incorect | 0 | 0 |
7 | 18ms | 1179kb | Incorect | 0 | 0 |
8 | 47ms | 1179kb | Incorect | 0 | 0 |
9 | 53ms | 1179kb | Incorect | 0 |
10 | 50ms | 1179kb | Incorect | 0 |
Punctaj total | 40 |