Pagini recente » Cod sursa (job #892129) | Borderou de evaluare (job #2041347) | Cod sursa (job #39671) | Cod sursa (job #1556955) | Borderou de evaluare (job #1537737)
Borderou de evaluare (job #1537737)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:66:19: warning: format ‘%s’ expects argument of type ‘char*’, but argument 3 has type ‘char (*)[101]’ [-Wformat=]
fscanf(f,"%s",&n);
^
user.cpp:70:27: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(short i=k;i<strlen(n);i++)
^
user.cpp: In function ‘short int pow(short int, short int)’:
user.cpp:57:1: warning: control reaches end of non-void function [-Wreturn-type]
}
^
user.cpp: In function ‘int main()’:
user.cpp:62:19: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
fscanf(f,"%u",&T);
^
user.cpp:66:20: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
fscanf(f,"%s",&n);
^
| Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
| 1 | 0ms | 272kb | Raspuns gresit! | 0 |
| 2 | 0ms | 272kb | Raspuns gresit! | 0 |
| 3 | 0ms | 284kb | Raspuns gresit! | 0 |
| 4 | 0ms | 280kb | Raspuns gresit! | 0 |
| 5 | 0ms | 284kb | Raspuns gresit! | 0 |
| 6 | 0ms | 280kb | Raspuns gresit! | 0 |
| 7 | 4ms | 280kb | Raspuns gresit! | 0 |
| 8 | 36ms | 280kb | Raspuns gresit! | 0 |
| 9 | 16ms | 280kb | Raspuns gresit! | 0 |
| 10 | 28ms | 280kb | Raspuns gresit! | 0 |
| Punctaj total | 0 |