Pagini recente » Borderou de evaluare (job #702356) | Borderou de evaluare (job #696215) | Borderou de evaluare (job #1554080) | Borderou de evaluare (job #1241960) | Borderou de evaluare (job #1679800)
Borderou de evaluare (job #1679800)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:77:32: warning: format ‘%s’ expects argument of type ‘char*’, but argument 4 has type ‘char (*)[100]’ [-Wformat=]
fscanf(f,"%d %s",&N,&valori);
^
user.cpp:78:34: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(int i=0;i<strlen(expresie);i++){
^
user.cpp:75:27: warning: ignoring return value of ‘char* fgets(char*, int, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
fgets(expresie,1001,f);
^
user.cpp:76:17: warning: ignoring return value of ‘char* fgets(char*, int, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
fgets(c,1,f);
^
user.cpp:77:33: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
fscanf(f,"%d %s",&N,&valori);
^
| Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
| 1 | 0ms | 432kb | OK | 10 |
| 2 | 0ms | 436kb | Incorect | 0 |
| 3 | 0ms | 436kb | Incorect | 0 |
| 4 | 0ms | 436kb | Incorect | 0 |
| 5 | 0ms | 440kb | Incorect | 0 |
| 6 | 0ms | 432kb | Incorect | 0 |
| 7 | 0ms | 436kb | Incorect | 0 |
| 8 | 0ms | 440kb | Incorect | 0 |
| 9 | 0ms | 436kb | Incorect | 0 |
| 10 | 0ms | 440kb | Incorect | 0 |
| Punctaj total | 10 |